$ sudo add-apt-repository ppa:vincent-c/ponysay
Replace this
deb http://ppa.launchpad.net/vincent-c/ponysay/ubuntu yakkety main
With this
deb http://ppa.launchpad.net/vincent-c/ponysay/ubuntu xenial main
$ sudo apt update
$ sudo apt install ponysay